#ifndef __CE_VIDEO_TOPBAR_WND_H__
#define __CE_VIDEO_TOPBAR_WND_H__

#include <mzfc_inc.h>
#include "UiTopBar.h"
class CVideoPlayerTopBarWnd : public CMzWndEx
{
public:
	CVideoPlayerTopBarWnd();
	virtual ~CVideoPlayerTopBarWnd();
	virtual void PaintWin(HDC hdc, RECT* prcUpdate /* = NULL */);
	virtual BOOL OnInitDialog();
	void DestroyWindow();
	virtual  void OnMzCommand(WPARAM wParam, LPARAM lParam);
	virtual LRESULT MzDefWndProc(UINT message, WPARAM wParam, LPARAM lParam);
	virtual void OnLButtonDown(UINT fwKeys, int xPos, int yPos);
	BOOL Create();
private:
public:
	UiTopBar m_uiTopBar;
public:
	ImagingHelper	*m_TopBarWndBG;
	HDC				m_hBakDC;
	HBITMAP			m_hBitmapBakDC;
	RECT			m_rtTopBarWnd;
public:
	BOOL InitBackgrandImages();
	void LoadiInterItem();
	void OnExit();
	void AnimateBitmapEx( HBITMAP hBmp1, HBITMAP hBmp2, HDC hdcDst, RECT *prcDst, UINT animType );
};

#endif